import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'

import TreeMenus from './components/Tree.vue'
Vue.component('tree-menus', TreeMenus)

// Vue.use(TreeMenus)
// 全局注册vant的组件，在项目中就可以使用
Vue.use(Vant)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
